home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!news
- From: miker3@ix.netcom.com (Mike Rubenstein)
- Newsgroups: alt.msdos.programmer,comp.lang.c
- Subject: Re: DOS doesn't expands wildcard argument...!
- Date: Sat, 20 Apr 1996 02:37:27 GMT
- Organization: Netcom
- Message-ID: <3177f570.165236126@nntp.ix.netcom.com>
- References: <3177b1d9.14121359@news.hk.linkage.net>
- NNTP-Posting-Host: ix-dc12-18.ix.netcom.com
- X-NETCOM-Date: Fri Apr 19 9:34:36 PM CDT 1996
- X-Newsreader: Forte Agent .99d/32.182
-
- budlo@bud.com (Bud Lo) wrote:
-
- > hello...
- >
- > i've written a C program and compiled both a Unix and DOS version,
- > the Unix version correctly expands its wildcard argument like *.jpg
- > into its constituent files while the DOS version do nothing...
- > Can anyone suggest solution to make it work in DOS...
- >
- > (i know that the Unix's shell do the work of wildcard expansion
- > before passing them to my program, and observing this behaviors
- > in DOS, does it imply that command.com simply leave this task to
- > programmer???)
-
- Yes, but every C compiler I've seen for DOS includes a file that you
- can just link in with your program to get the wildcard expansion.
- Check your documentation.
-
-
- Michael M Rubenstein
-